
<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('总重量KG')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id"   class="form-control" name="row[weight]" type="text" value="{$weight}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('长(厘米)')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c_shelf_number"  class="form-control" name="row[length]" type="text" value="{$length}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('宽(厘米)')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c_shelf_number"  class="form-control" name="row[wide]" type="text" value="{$wide}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('高(厘米)')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c_shelf_number"  class="form-control" name="row[high]" type="text" value="{$high}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('体积(立方米)')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c_shelf_number" readonly  class="form-control" name="row[volume]" type="text" value="{$volume}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('包裹数量')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c_shelf_number"  class="form-control" name="row[num]" type="text" value="{$num}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('体积重')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c_shelf_number"  readonly class="form-control" type="text" value="{$volume_weight}">
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed ">{:__('OK')}</button>
        </div>
    </div>
</form>

<table class="table table-striped table-bordered table-hover table-nowrap">
    <thead>
    <td>物流线路名</td>
    <td>首重</td>
    <td>起步价</td>
    <td>续重阶梯</td>
    <td>续重价</td>
    <td>参于计算的重量</td>
    <td>价格</td>
    </thead>
    {volist name="list" id="s"}
    <tr>
        <td>{$s.name}</td>
        <td>{$s.first_weight}KG</td>
        <td>{$s.first_price}元</td>
        <td>{$s.additional_weight_ladder}KG</td>
        <td>{$s.additioinal_price}元</td>
        <td>{$w}<span>KG</span></td>
        <td>{$s.price}<span>元</span></td>

    </tr>
    {/volist}

</table>
